package javebean;/*
@Date:2024/12/3
*/

public class House {
    private String id;
    private String name;
    private String tel;
    private String address;
    private String money;
    private String state="未出租";

    public House() {
    }

    public House(String id, String name, String tel, String address, String money, String state) {
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.address = address;
        this.money = money;
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "javebean.House{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", address='" + address + '\'' +
                ", money='" + money + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
